home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************************
- ** **
- ** Module: QD3DAcceleration.h **
- ** **
- ** **
- ** Purpose: Header file for low-level 3D driver API **
- ** Vendor IDs, and Apple's engine IDs **
- ** **
- ** **
- ** Copyright (C) 1994-95 Apple Computer, Inc. All rights reserved. **
- ** **
- ** **
- *****************************************************************************/
- #ifndef QD3DAcceleration_h
- #define QD3DAcceleration_h
-
- #if PRAGMA_ONCE
- #pragma once
- #endif
-
- #if defined(THINK_C) || defined(__SC__)
- #pragma options(!pack_enums, !align_arrays)
- #pragma SC options align=power
- #elif defined(__MWERKS__)
- #pragma enumsalwaysint on
- #pragma align_array_members off
- #pragma options align=native
- #elif defined(__PPCC__)
- #pragma options align=power
- #endif
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- /******************************************************************************
- ** **
- ** Vendor ID definitions **
- ** **
- *****************************************************************************/
-
- /*
- * If kQAVendor_BestChoice is used, the system chooses the "best" drawing engine
- * available for the target device. This should be used for the default.
- */
-
- #define kQAVendor_BestChoice (-1)
-
- /*
- * The other definitions (kQAVendor_Apple, etc.) identify specific vendors
- * of drawing engines. When a vendor ID is used in conjunction with a
- * vendor-defined engine ID, a specific drawing engine can be selected.
- */
-
- #define kQAVendor_Apple 0
- #define kQAVendor_ATI 1
- #define kQAVendor_Radius 2
- #define kQAVendor_Mentor 3
- #define kQAVendor_Matrox 4
- #define kQAVendor_Yarc 5
- #define kQAVendor_DiamondMM 6
-
- /******************************************************************************
- ** **
- ** Apple's engine ID definitions **
- ** **
- *****************************************************************************/
-
- #define kQAEngine_AppleSW 0 /* Default software rasterizer */
- #define kQAEngine_AppleHW (-1) /* QuickDraw 3D Accelerator Card */
- #define kQAEngine_AppleHW2 1 /* Another Apple accelerator */
- #define kQAEngine_AppleHW3 2 /* Another Apple accelerator */
-
- #ifdef __cplusplus
- }
- #endif
-
- #if defined(__MWERKS__)
- #pragma enumsalwaysint reset
- #elif defined(__xlc) || defined(__xlC) || defined(__xlC__) || defined(__XLC121__)
- #pragma options enum=reset
- #endif
-
- #endif /* QD3DAcceleration_h */
-